package com.system.common.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.system.common.pojo.SysMenu;
import com.system.common.pojo.SysMenuExample;

public interface SysMenuMapper {
    int countByExample(SysMenuExample example);

    int deleteByExample(SysMenuExample example);

    int deleteByPrimaryKey(String menuId);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    List<SysMenu> selectByExample(SysMenuExample example);

    SysMenu selectByPrimaryKey(String menuId);

    int updateByExampleSelective(@Param("record") SysMenu record, @Param("example") SysMenuExample example);

    int updateByExample(@Param("record") SysMenu record, @Param("example") SysMenuExample example);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);
    
    List<SysMenu> queryMenuIds(String ids);
    
    String queryBycascadeId(String parentId);
    List<SysMenu> selectPower(String roleId);
    List<SysMenu> selectByAccount(String account);  
}